package com.eastshop.seller.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.eastshop.seller.dao.SellerDao;
import com.eastshop.seller.vo.Region;
import com.eastshop.seller.vo.Seller;

/**
 * 商家管理的Service类
 * @author admin
 *
 */
@Transactional
public class SellerService {
	// 注入SellerDao
	private SellerDao sellerDao;

	public void setSellerDao(SellerDao sellerDao) {
		this.sellerDao = sellerDao;
	}
	
	// Service层查询商家的信息
	public Seller find() {
		return sellerDao.find();
	}

	// Service层修改商家的信息
	public void update(Seller seller) {
		sellerDao.update(seller);
	}
	
}
